package com.spyx.common.config;

import com.github.wxpay.sdk.WXPayConfig;

import java.io.InputStream;

public class PayConfig implements WXPayConfig {

    //收款人的企业号ID
    public static String appId = "wx74862e0dfcf69954";
    //收款人商户号
    public static String partner = "1558950191";
    //收款人的商户私钥
    public static String partnerKey = "T6m9iK73b0kn9g5v426MKfHQH7X8rKwb";


    @Override
    public String getAppID() {
        return appId;
    }

    @Override
    public String getMchID() {
        return partner;
    }

    @Override
    public String getKey() {
        return partnerKey;
    }

    @Override
    public InputStream getCertStream() {
        return null;
    }

    @Override
    public int getHttpConnectTimeoutMs() {
        return 3000;
    }

    @Override
    public int getHttpReadTimeoutMs() {
        return 5000;
    }
}
